package com.chixing.day20_annotation_jdk8;

import com.chixing.day06_static.abstruct_demo.E;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD})
@Inherited
public @interface InitSex {
    enum SEX_TYPE {MAN,WOMAN}
    SEX_TYPE sex() default SEX_TYPE.MAN;
}
